#ifndef _PCS_SPLITTING_6_MODEL_H
#define _PCS_SPLITTING_6_MODEL_H
#include "atomic.h"

class PCS_splitting_6_model : public Atomic
{
public:
	PCS_splitting_6_model( const string & name = "PCS_splitting_6_model" );
	inline string className() const
	{
		return "PCS_splitting_6_model" ;
	}

protected:
	Model &initFunction();
	Model &externalFunction(const ExternalMessage &);
	Model &internalFunction(const InternalMessage &);
	Model &outputFunction(const InternalMessage &);

private:
	const Port &PCS_splitting_6_stream_GB90_1;
	float PCS_splitting_6_stream_GB90_1_flowrate;

	Port &PCS_splitting_6_stream_GB90_2;
	float PCS_splitting_6_stream_GB90_2_flowrate;
	Port &PCS_splitting_6_stream_GB90_3;
	float PCS_splitting_6_stream_GB90_3_flowrate;


	float PCS_splitting_6_stream_GB90_1_opt_flowrate_val;
	float PCS_splitting_6_stream_GB90_2_opt_flowrate_val;
	float PCS_splitting_6_stream_GB90_3_opt_flowrate_val;

	Time delay;
	float total_flowrate;
	int count;
};

#endif
